    <main class="lyear-layout-content">     
      <div class="container-fluid">       
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-toolbar clearfix">
                <form class="pull-right search-bar" method="post" action="{:url('search')}">
                  <div class="input-group">
                    <input type="text" class="form-control" value="" name="sname" placeholder="请输入要查询的资讯名称">
                    <div class="input-group-btn">
                      <input class="btn btn-default dropdown-toggle" type="submit" value="查 询" >
                    </div>
                  </div>
                </form>
                <div class="toolbar-btn-action">
                  <span class="btn btn-primary m-r-5">
                  <!-- <i class="mdi mdi-plus"></i> -->
                   前端用户信息管理</span>
                </div>
              </div>
              <div class="card-body">
                
                <div class="table-responsive">
                  <table class="table table-bordered">
                    <thead>
                      <tr>
                        <th>
                          <label class="lyear-checkbox checkbox-primary">
                            <input type="checkbox" id="check-all"><span></span>
                          </label>
                        </th>
                        <th>用户编号</th>
                        <th>用户openid</th>
                        <th>用户微信昵称</th>
                        <th>手机号码</th>
                        <th>微信头像</th>
                        <!-- <th>状态</th> -->
                        <th>操作</th>
                      </tr>
                    </thead>
                    <tbody>
                      {foreach $data as $key=>$vo}
                      <tr>
                        <td>
                          <label class="lyear-checkbox checkbox-primary">
                            <input type="checkbox" name="ids[]" value="1"><span></span>
                          </label>
                        </td>                       
                        <td> {$vo.uid}</td>
                        <td>{$vo.openid}</td>
                        <td>{$vo.nickName}</td>
                        <td>{$vo.phone}</td>
                        <td><img {if $vo.avatarUrl!=''} src='{$vo.avatarUrl}'{/if} style="width:60px;height: 40px;"></td>
                        <!-- <td><font class="text-success">正常</font></td> -->
                        <td>
                          <div class="btn-group">
                            <a class="btn btn-xs btn-default" href="{:url('editpage')}?id={$vo.uid}" title="编辑" data-toggle="tooltip"><i class="mdi mdi-pencil"></i></a>
                            <a onclick="deldata({$vo.uid},'userinfo')" class="btn btn-xs btn-default" href="javascript:void(0)" title="删除" data-toggle="tooltip"><i class="mdi mdi-window-close"></i></a>
                          </div>
                        </td>
                        
                      </tr>
                      {/foreach}
                    </tbody>
                  </table>
                </div>
                <ul class="pagination">                 
                    {$data|raw} 
                </ul>       
              </div>
            </div>
          </div>
          
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/main.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/self.js"></script>
<script type="text/javascript">
$(function(){
    $('.search-bar .dropdown-menu a').click(function() {
        var field = $(this).data('field') || '';
        $('#search-field').val(field);
        $('#search-btn').html($(this).text() + ' <span class="caret"></span>');
    });
    
});
</script>
</body>
</html>